<div class="yiiForm">

<p>
Los campos marcados con <span class="required">*</span> son obligatorios.
</p>

<?php echo CHtml::beginForm(); ?>

<?php echo CHtml::errorSummary($model); ?>

<div class="simple">
<?php echo CHtml::activeLabelEx($model,'name'); ?>
<?php echo CHtml::activeTextField($model,'name',array('size'=>50,'maxlength'=>50)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'age'); ?>
<?php echo CHtml::activeTextField($model,'age'); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'profession'); ?>
<?php echo CHtml::activeTextField($model,'profession',array('size'=>60,'maxlength'=>100)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'phone'); ?>
<?php echo CHtml::activeTextField($model,'phone',array('size'=>50,'maxlength'=>50)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'email'); ?>
<?php echo CHtml::activeTextField($model,'email',array('size'=>60,'maxlength'=>255)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'zone'); ?>
<?php echo CHtml::activeTextField($model,'zone',array('size'=>60,'maxlength'=>100)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'city'); ?>
<?php echo CHtml::activeTextField($model,'city',array('size'=>50,'maxlength'=>50)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'state'); ?>
<?php $stateOptions = array_merge(array(0=>''), TShirtRequest::model()->stateOptions); ?>
<?php echo CHtml::activeDropDownList($model,'state',$stateOptions); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'country'); ?>
<?php echo CHtml::activeTextField($model,'country',array('size'=>50,'maxlength'=>50)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'address'); ?>
<?php echo CHtml::activeTextField($model,'address',array('size'=>60,'maxlength'=>255)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'sent'); ?>
<?php echo CHtml::activeDropDownList($model,'sent',TShirtRequest::model()->yesNoOptions); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'found'); ?>
<?php echo CHtml::activeDropDownList($model,'found',TShirtRequest::model()->yesNoOptions); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'donation'); ?>
<?php echo CHtml::activeTextField($model,'donation',array('size'=>20,'maxlength'=>20)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'comment'); ?>
<?php echo CHtml::activeTextField($model,'comment',array('size'=>60,'maxlength'=>500)); ?>
</div>
<div class="action">
<?php echo CHtml::submitButton('Guardar'); ?>
</div>

<?php echo CHtml::endForm(); ?>

</div><!-- yiiForm -->